<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('cash/lst')}">余额收支记录记录</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('cash/lst')}">
        用户昵称:
        <input type="text" class="form-control" style="width:130px;" name="nickname" value="{:input('request.nickname/s','')}" placeholder="请输入用户昵称">
        <input type="submit" class="btn btn-primary" value="搜索" />
        <a class="btn btn-danger" href="{:url('cash/lst')}">清空</a>
    </form>
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th>ID</th>
                <th>用户昵称</th>
                <th>金额</th>
                <th>类型</th>
                <th>备注</th>
                <th>申请时间</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.nickname}</td>
                    <td>{$vo.balance}</td>
                    <td>{$vo['type'] == 1 ? '收入' : '支出'}</td>
                    <td>{$vo.remark}</td>
                    <td>{$vo.addtime}</td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page|default=''}</div>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
</html>